package Work0511;

public class DriverTest {

	public static void main(String[] args) {
		Driver test = new Driver("王牌飞行员");

		DriverCar a = new DriverCar(60, 100);
		DriverAirplane b = new DriverAirplane(200, 150);
		DriverTank c = new DriverTank(600, 200);
		DriverTractor d = new DriverTractor(150, 5);
		DriverSteamship e = new DriverSteamship(200, 200, 50);

		test.Driver(a);
		test.Driver(b);
		test.Driver(c);
		test.Driver(d);
		test.Driver(e);

	}

}
